package com.ruoyi.plus.pub.api.po;

import com.ruoyi.plus.constants.PlusDictConstants;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 常用语对象 pub_common_words
 *
 *
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel()
public class PubCommonWordsPo implements Serializable {

    /**
     * ID
     */
    @ApiModelProperty("ID(添加时非必填,修改时必填)")
    private Long id;

    @ApiModelProperty(value = PlusDictConstants.SYSTEM_TYPE_ALL, required = true)
    @NotBlank
    private String systemType;

    /**
     * 常用语类型(1:常用地址;2:常见问题)
     */
    @ApiModelProperty(value = "常用语类型(1:常用地址;2:常见问题)", required = true)
    @NotBlank
    private String type;


    /**
     * 常用语
     */
    @ApiModelProperty(value = "常用语", required = true)
    @NotBlank
    private String content;

    /**
     * 排序
     */
    @ApiModelProperty("排序")
    private Long orderNum;


}
